<?php
	class Location{ 
		public $id;
		public $district_id;
		public $postal_number;
		public $city_name;
		public $alpha;
		public $longitude;
		public $latitude;
		
		//Number of practices in that location
		public $number_of_practices;
		
		//mapping with flex
		public $_explicitType = "classespinkpony.Location";
		public function __construct($id,$district_id,$postal_number,$city_name, $alpha, $longitude, $latitude, $number_of_practices){
			$this->id = $id;
			$this->district_id = $district_id;
			$this->postal_number = $postal_number;
			$this->city_name = $city_name;
			$this->alpha = $alpha;
			$this->longitude = $longitude;
			$this->latitude = $latitude;
			$this->number_of_practices = $number_of_practices;
		}

}
?>